﻿using System;


namespace Auto.BusMan.Advanced
{
    public partial class fmClearData : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnClear_Click(object sender, EventArgs e)
        {

            Auto.Data.BusMan.BLL.ClearBMData bll = new Auto.Data.BusMan.BLL.ClearBMData();
            try
            {
                bll.ClearData();
                lblMsg.Text = "数据初始化成功！";
            }
            catch (Exception ex)
            {
                lblMsg.Text = ex.Message;
            }
            

        }
    }
}